<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/Web/common/page/jqueryMaster.jsp"%>
<%
	String currentUsername = "";
	if( null == user){
		String url = root + "/common/toLoginPage.jhtml";
		response.sendRedirect(url);
	} else {
		currentUsername = user.getUsername();
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="<%=root%>/Web/main/js/main.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>违章车辆查询管理系统</title>
<script type="text/javascript">
var currentUsername = '<%=currentUsername%>';
</script>
</head>

<!-- 设置了class就可在进入页面加载layout -->
<body class="easyui-layout" style="overflow-y: hidden"  scroll="no">
	<noscript>
		<div style="position: absolute; z-index: 100000; height: 2046px; top: 0px; left: 0px; width: 100%; background: white; text-align: center;">
		<img src="<%=root%>/Web/common/images/noscript.gif" alt='抱歉，请开启脚本支持！' /></div>
	</noscript>
	
	<!-- 正上方panel -->
    <div region="north" split="true" border="false" 
    	style="overflow: hidden; height: 30px;background: url(<%=root%>/Web/common/images/layout-browser-hd-bg.gif) #7f99be repeat-x center 50%;line-height: 20px;color: #fff; font-family: Verdana, 微软雅黑,黑体">
        <span style="float:right; padding-right:10px;" class="head">
        	当前时间：<span id = "timeSpan"></span>
        	<a id="editpass" class="easyui-linkbutton" icon="icon-edit" href="javascript:void(0)" >修改密码</a>
        	<a id="loginOut" class="easyui-linkbutton" icon="icon-back" href="javascript:void(0)" >安全退出</a>
        </span>
        <span style="padding-left:10px; font-size: 16px; ">
        	<img src="<%=root%>/Web/main/images/blocks.gif" width="20" height="20" align="absmiddle" /> 违章车辆查询管理系统
        </span>
    </div>
    
    <!-- 正左边panel -->
    <div region="west" id="west" title="菜单栏" split="true" style="width:160px;padding:1px;overflow:hidden;">
    	<div class="easyui-accordion" fit="true" border="false">
    		<!-- selected -->
    		<div title="违章车辆信息管理" selected="true"  icon = "icon-search">
				<ul>
					<li>
						<a href="javascript:addTab('特殊车辆管理','icon-set','<%=root%>/Web/record/page/ManageSpecialCars.jsp');">
							<span class = "icon icon-nav" style="font-size: 16px; ">特殊车辆管理</span>
						</a>
					</li>
					<li>
						<a href="javascript:addTab('违章记录管理','icon-set','<%=root%>/Web/record/page/SearchRecords.jsp');">
							<span class = "icon icon-nav" style="font-size: 16px; ">违章记录管理</span>
						</a>
					</li>
					
				</ul>
			</div>
			<div title="用户权限管理"  style="overflow:auto;" style="pandding:10px" icon = "icon-search">
				<ul>
					<li>
						<a href="javascript:addTab('用户管理','icon-users','<%=root%>/Web/user/page/ManageUser.jsp');">
							<span class = "icon icon-users" style="font-size: 16px; ">用户管理</span>
						</a>
					</li>
				</ul>
			</div>
		</div>
   	</div>
   	
   	<!--
   	<div region="east" icon="icon-reload" title="在线用户" split="true" style="width:110px;">
	</div>
	
    <!-- 正中间panel -->
    <div region="center" id="mainPanle" >
    	<div id="tabs" class="easyui-tabs" id="centerTab" fit="true" border="false">
			<div title="欢迎页" style="padding:20px;overflow:hidden;"> 
				<div style="margin-top:20px;">
					<h3>你好，欢迎来到违章车辆查询管理系统</h3>
            		<p>该系统是基于浏览器的违章车辆查询管理系统.</p> 
            		如果您对本系统所使用的技术感兴趣，请与我们联系。</p>  
            		<p>&nbsp;</p>
				</div>
			</div>
		</div>
    </div>
    <!-- 正下方panel -->
    <div region="south" style="height:35px;" align="center">
    	<label>
    		大连合志科技有限公司 提供技术支持<br>
			&copy; Copyright 2011-2015, HeZhi-Tech, All Rights Reserved
    	</label>
    </div>
    
    <!--修改密码窗口-->
    <div id="w" class="easyui-window" title="修改密码" collapsible="false" minimizable="false"
        maximizable="false" icon="icon-save"  style="width: 350px; height: 200px; padding: 5px;
        background: #fafafa;hidden">
        <div class="easyui-layout" fit="true">
            <div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
                <table cellpadding=3>
                	<tr>
                		<td>用户名：</td>
                		<td>
                		<label id="loginInfoEdit_loginCode"></label>
                		<s:property value = "#session.session_login.username"/>
                		</td>
                	</tr>
                    <tr>
                        <td>新密码：</td>
                        <td><input id="txtNewPass" type="Password" class="txt01" /></td>
                    </tr>
                    <tr>
                        <td>确认密码：</td>
                        <td><input id="txtRePass" type="Password" class="txt01" /></td>
                    </tr>
                </table>
            </div>
            <div region="south" border="false" style="text-align: right; height: 30px; line-height: 30px;">
                <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)" >确定</a> 
                <a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">取消</a>
            </div>
        </div>
    </div>
    
    <!--右键菜单-->
    <div id="mm" class="easyui-menu" style="width:150px;">
		<div id="mm-tabupdate">刷新</div>
		<div class="menu-sep"></div>
		<div id="mm-tabclose">关闭</div>
		<div id="mm-tabcloseother">除此之外全部关闭</div>
		<div class="menu-sep"></div>
		<div id="mm-tabcloseright">当前页右侧全部关闭</div>
		<div id="mm-tabcloseleft">当前页左侧全部关闭</div>
		<div class="menu-sep"></div>
		<div id="mm-exit">退出</div>
	</div>
</body>
</html>